package com.hitqz.robot.api.business.params;

import com.hitqz.robot.api.dispatch.protocol.dto.FormConfigModalDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author xupkun
 * @date 2024/10/17
 */
@Data
public class PageRobotJobParams {


    @Schema(description = "id")
    private Integer id;

    /**
     * 名称
     */
    @Schema(description="名称")
    private String name;

    @Schema(description = "时间表达式")
    private String cron;

    /**
     * 0-不启用 1-启用
     */
    @Schema(description="0-不启用 1-启用")
    private String enable;

    @Schema(description = "动态表单任务内容")
    private FormConfigModalDto modalData;

    @Schema(description = "任务内容")
    private String content;

    @Schema(description = "调度组id")
    private Integer groupId;

    @Schema(description = "所属机器人")
    private String robotSn;
}
